class RiskZonePoint {
    double x;
    double y;
    int z;
    int floorId;

    RiskZonePoint({this.x, this.y, this.z,this.floorId});

    factory RiskZonePoint.fromJson(Map<String, dynamic> json) {
        return RiskZonePoint(
            x: json['x'], 
            y: json['y'], 
            z: json['z']
        );
    }

    Map<String, dynamic> toJson() {
        final Map<String, dynamic> data = new Map<String, dynamic>();
        data['x'] = this.x;
        data['y'] = this.y;
        data['z'] = this.z;
        data['floorId'] = this.floorId;
        return data;
    }

}